package com.asen.commons.core.base.service;

import com.asen.commons.core.base.domain.SubBase;

/**
 * 从属类接口
 *
 * @author Gary
 * @version 1.0
 * @date 2021-04-29
 */
public interface SubBaseService<T extends SubBase> extends CoreBaseService<T> {

    /**
     * 根据父id取值
     *
     * @param parentId
     * @return
     * @throws Exception
     */
    T getByParentId(Long parentId) throws Exception;
}
